﻿using System.Windows.Input;

namespace iStudio.View.Dialog
{
    /// <summary>
    /// Interaction logic for About.xaml
    /// </summary>
    public partial class New
    {
        public New()
        {
            InitializeComponent();
        }

        private void CloseButtonMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            Close();
        }

        private void HeaderMouseDown(object sender, MouseButtonEventArgs e)
        {
            if (e.LeftButton == MouseButtonState.Pressed)
            {
                DragMove();
            }
        }
    }
}
